package com.xhs.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 任务列表响应DTO
 *
 * @author xhs
 */
@Data
@Schema(description = "任务列表响应")
public class TaskListResponse {

    @Schema(description = "任务ID")
    private Long taskId;

    @Schema(description = "任务名称")
    private String taskName;

    public TaskListResponse(Long taskId, String taskName) {
        this.taskId = taskId;
        this.taskName = taskName;
    }
} 